<div id="left_nav" class="span3">

    <div id="nav_group" class="inner_shadow">
        <?php
        $cur_action = $this->params['action'];
        ?>
        <ul>
            <li class="<?php echo ($cur_action == 'index') ? 'active-li-menu' : ''; ?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'index')); ?>"><i class="icon-home icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'index')); ?>">Dashboard</a>
                    <p>Dashboard</p>
                </span>
            </li>
            <?php
            if ($authuser['user_level'] == 'Accountant') {
                ?>
                <li class="<?php echo ($cur_action == 'fees') ? 'active-li-menu' : ''; ?>">
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'fees')); ?>"><i class="icon-list icon-2x"></i></a>
                    <span>
                        <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'fees')); ?>">Student
                            Fees</a>
                        <p>Manage Student Fees</p>
                    </span>
                </li>

            <?php
            }
            ?>

            <?php
            if ($authuser['user_level'] == 'Academic Registration Officer') {
                ?>
                <li class="<?php echo ($cur_action == 'student_users') ? 'active-li-menu' : ''; ?>">
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'student_users')); ?>"><i class="icon-list icon-2x"></i></a>
                    <span>
                        <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'student_users')); ?>">Student
                            Details</a>
                        <p>Student Accounts</p>
                    </span>
                </li>
                <li class="<?php echo ($cur_action == 'fee_types') ? 'active-li-menu' : ''; ?>">
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'fee_types')); ?>"><i class="icon-list icon-2x"></i></a>
                    <span>
                        <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'fee_types')); ?>">Fee Types</a>
                        <p>Manage Fee Types</p>
                    </span>
                </li>

            <?php
            }
            ?>

            <li class="<?php echo ($cur_action == 'payment_history') ? 'active-li-menu' : ''; ?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'payment_history')); ?>"><i class="icon-arrow-right icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'payment_history')); ?>">Fee
                        Payments History </a>
                    <p>Students Payments History</p>
                </span>
            </li>

            <li class="<?php echo (in_array($cur_action, array('report', 'report_fee_type'))) ? 'active-li-menu' : ''; ?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'report')); ?>"><i class="icon-arrow-right icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'report')); ?>">Report </a>
                    <p>Run Reports</p>
                </span>
            </li>

            <li class="<?php echo (in_array($cur_action, array('service_requests'))) ? 'active-li-menu' : ''; ?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'service_requests')); ?>"><i class="icon-arrow-right icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'service_requests')); ?>">Service
                        Requests </a>
                    <p>Students Service Requests</p>
                </span>
            </li>

            <li class="<?php echo ($cur_action == 'announcement')? 'active-li-menu': '' ;?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Announcement','action' => 'announcement')); ?>"><i class="icon-list icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Announcement','action' => 'announcement')); ?>">Announcement</a>
                    <p>Send Students Announcement</p>
                </span>
            </li>

            <li class="<?php echo ($cur_action == 'invoice') ? 'active-li-menu' : ''; ?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'invoice')); ?>"><i class="icon-arrow-right icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'invoice')); ?>">Invoice </a>
                    <p>Billing Invoice</p>
                </span>
            </li>

            <li class="<?php echo ($cur_action == 'editprofile') ? 'active-li-menu' : ''; ?>">
                <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'editprofile')); ?>"><i class="icon-user icon-2x"></i></a>
                <span>
                    <a href="<?php echo $this->Html->url(array('controller'=>'Staff','action' => 'editprofile')); ?>">Edit
                        Profile</a>
                    <p>Update your profile info.</p>
                </span>
            </li>
        </ul>
    </div>
</div>